import request from '@/axios'

export interface FormData {
  real_name: string
  store_id: string
  mobile: string
}
export interface FormList {
  name: string
  store_id: string
}

// 商品检索框
export const searchGoodsCateApi = (data): Promise<IResponse> => {
  return request.post({ url: '/goods/select', data })
}
// 商品规格检索框
export const searchGoodsRuleCateApi = (data): Promise<IResponse> => {
  return request.post({ url: '/goods/goods_rule', data })
}
// 用户检索框
export const searchStoreCateApi = (data): Promise<IResponse> => {
  return request.post({ url: '/store/user/select', data })
}
// 门店检索框
export const searchStoreApi = (data): Promise<IResponse> => {
  return request.post({ url: '/store/select', data })
}
